home *** CD-ROM | disk | FTP | other *** search
- //--------------------------------------------------------------
- //
- // Customer.dmd - Mugs Sample Application
- //
- // Customer Data Module for the Customer data entry form.
- //
- // Dependencies: MUGS.CDM
- // COUTNRY.DBF
- // CUSTOMER.DBF
- // STATE.DBF
- //
- // Visual dBASE Samples Group
- //
- // $Revision: 1.4 $
- //
- // Copyright (c) 1997, Borland International, Inc.
- // All rights reserved.
- //
- //---------------------------------------------------------------
- ** END HEADER -- do not remove this line
- //
- // Generated on 10/09/97
- //
- class CustomerDataModule of MUGSDATAMODULE from "mugs.cdm"
-
- this.CUSTOMER1 = new QUERY()
- this.CUSTOMER1.parent = this
- with (this.CUSTOMER1)
- left = 2
- top = 3
- database = form.dbmugs
- sql = 'SELECT * FROM "CUSTOMER.DBF"'
- active = true
- endwith
-
-
- with (this.CUSTOMER1.rowset)
- fields["Country ID"].lookupSQL = 'SELECT country."Country ID", country FROM "country.dbf" country'
- endwith
-
- this.STATE1 = new QUERY()
- this.STATE1.parent = this
- with (this.STATE1)
- left = 10
- top = 3
- database = form.dbmugs
- sql = 'SELECT * FROM "STATE.DBF"'
- active = true
- endwith
-
- endclass
-